package org.example.lotterysystem.common.domain.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.lotterysystem.common.domain.UserLogin;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginDTO extends UserLogin {

    /**
     * 手机
     */
    @NotBlank(message = "手机不能为空！")
    private String loginName;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空！")
    private String password;

}
